* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  background: #000;
}

/* NAVBAR */

.navbar {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 43px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 10;
}

.logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,.5);
  font-size: 16px;
  line-height: 32px;
  transition: .3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

.nav-button {
  height: 47px;
  padding: 0 32px;
  background: #8200db;
  border-radius: 30px;
  color: #fff;
  line-height: 47px;
  font-weight: 600;
}

/* SECTIONS */

.section-wrap {
  width: min(100% - 80px, 1280px);
  margin: 0 auto;
}

/* HERO */

.about-hero {
  padding: 115px 0 85px;
  display: grid;
  grid-template-columns: 54% 46%;
  gap: 40px;
  align-items: center;
}

.hero-text h1,
.empowering-text h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 56px);
  line-height: 1.35;
  font-weight: 500;
}

.hero-text h1 span,
.decolonizing-text h2 span,
.empowering-text h2 span {
  color: #d677ff;
}

.hero-text p,
.decolonizing-text p,
.empowering-text p {
  margin: 50px 0 0;
  color: rgba(255,255,255,.5);
  font-size: 20px;
  line-height: 42px;
  max-width: 650px;
}

.hero-text strong,
.decolonizing-text strong,
.empowering-text strong {
  color: #fff;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.read-more,
.read-publications {
  height: 57px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
}

.read-more {
  width: 226px;
  background: #fff;
  color: #000;
}

.read-publications {
  width: 282px;
  border: 1px solid #fff;
  color: #fff;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual img {
  width: min(100%, 840px);
  height: auto;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 58%,
    rgba(0,0,0,.72) 70%,
    transparent 86%
  );
  mask-image: radial-gradient(
    ellipse at center,
    #000 58%,
    rgba(0,0,0,.72) 70%,
    transparent 86%
  );
}

/* DECOLONIZING */

.decolonizing {
  padding: 40px 0 120px;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: center;
}

.globe-block img {
  width: min(100%, 469px);
  height: auto;
  object-fit: cover;
}

.decolonizing-text h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.35;
  font-weight: 500;
}

.decolonizing-text p {
  max-width: 650px;
}

/* EMPOWERING */

.empowering {
  padding: 70px 0 150px;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 60px;
  align-items: center;
}

.empowering-visual img {
  width: min(100%, 958px);
  height: auto;
  object-fit: cover;
}

.edge-fade-x {
  -webkit-mask-image: radial-gradient(
    ellipse at 48% 45%,
    #000 0%,
    #000 43%,
    rgba(0,0,0,.65) 56%,
    transparent 72%
  );
  mask-image: radial-gradient(
    ellipse at 48% 45%,
    #000 0%,
    #000 43%,
    rgba(0,0,0,.65) 56%,
    transparent 72%
  );
}

/* FOOTER */

.footer {
  background: #7228d9;
  padding: 74px 24px 36px;
}

.footer-inner {
  width: min(100%, 1268px);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

.footer-brand p,
.footer-newsletter p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  line-height: 26px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: .5px solid #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.footer-social img {
  width: 22px;
  height: 22px;
}

.footer-nav-cols {
  display: flex;
  gap: 60px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col h4,
.footer-newsletter h4,
.footer-newsletter label {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
}

.footer-nav-col a {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  line-height: 28px;
}

.footer-newsletter {
  max-width: 262px;
}

.footer-newsletter input {
  width: 262px;
  height: 55px;
  border: 0;
  outline: 0;
  border-radius: 10px;
  padding: 0 18px;
}

.footer-divider {
  height: 1px;
  margin: 36px 0 18px;
  background: rgba(255,255,255,.3);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

/* ANIMATIONS */

.fade-left,
.hero-title {
  opacity: 0;
  transform: translateX(-70px);
}

.fade-right,
.animate-img {
  opacity: 0;
  transform: translateX(70px);
}

.animate-fade {
  opacity: 0;
  transform: translateY(30px);
}

.fade-left.visible,
.hero-title.visible {
  animation: fadeLeftIn .9s ease-out forwards;
}

.fade-right.visible,
.animate-img.visible {
  animation: fadeRightIn .9s ease-out forwards;
}

.animate-fade.visible {
  animation: fadeUpIn .9s ease-out forwards;
}

.type-title .type-char {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
}

.type-title.visible .type-char {
  animation: typeInChar .22s ease-out forwards;
  animation-delay: var(--char-delay);
}

@keyframes fadeLeftIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRightIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUpIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typeInChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-hero,
  .decolonizing,
  .empowering {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .decolonizing-text,
  .empowering-text {
    text-align: center;
  }

  .hero-text p,
  .decolonizing-text p,
  .empowering-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual,
  .globe-block,
  .empowering-visual {
    display: flex;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-top {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .section-wrap,
  .navbar {
    width: min(100% - 32px, 1280px);
  }

  .logo {
    width: 150px;
    height: auto;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .nav-button {
    width: 100%;
    text-align: center;
  }

  .hero-text h1,
  .empowering-text h2 {
    font-size: 36px;
    line-height: 48px;
  }

  .decolonizing-text h2 {
    font-size: 30px;
  }

  .hero-text p,
  .decolonizing-text p,
  .empowering-text p {
    font-size: 17px;
    line-height: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .read-more,
  .read-publications {
    width: 100%;
  }

  .footer-top,
  .footer-nav-cols {
    flex-direction: column;
  }

  .footer-newsletter,
  .footer-newsletter input {
    width: 100%;
    max-width: 100%;
  }
}